package com.second.ssyt_test.common;

import com.second.ssyt_test.common.util.Util;


/**
 * 系统常量
 *
 * @author Runs.
 * @since 2016年1月8日
 */
public class Constant {

	/**
	 * 数据库相关的常量
	 */
	public static final String DRIVER = Util.getDefaultBundle("driver");
	public static final String URL = Util.getDefaultBundle("url");
	public static final String USER = Util.getDefaultBundle("user");
	public static final String PASSWORD = Util.getDefaultBundle("password");
	/**
	 * 分页设置
	 */
	public static final int DEFAULT_PAGE_NO = 1;
	public static final int DEFAULT_PAGE_SIZE = 10;
	/**
	 * 编码
	 */
	public static final String ENCODING_UTF8 = "UTF-8";
	public static final String ENCODING_ISO88591 = "ISO-8859-1";
	public static final String ENCODING_GBK = "GBK";
	/**
	 * Validate较验后缀
	 */
	public static final String VALIDATE_NOT_BLANK = "不能为null或\"\"";
	public static final String VALIDATE_NOT_NULL = "不能为null";
}
